package com.macro.mall.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.sms.SmsCouponHistoryDO;
import com.macro.mall.model.sms.SmsCouponHistoryQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmsCouponHistoryMapper extends BaseMapper<SmsCouponHistoryDO> {
    long countByExample(SmsCouponHistoryQuery example);

    int deleteByExample(SmsCouponHistoryQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsCouponHistoryDO record);

    int insertSelective(SmsCouponHistoryDO record);

    List<SmsCouponHistoryDO> selectByExample(SmsCouponHistoryQuery example);

    SmsCouponHistoryDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsCouponHistoryDO record, @Param("example") SmsCouponHistoryQuery example);

    int updateByExample(@Param("record") SmsCouponHistoryDO record, @Param("example") SmsCouponHistoryQuery example);

    int updateByPrimaryKeySelective(SmsCouponHistoryDO record);

    int updateByPrimaryKey(SmsCouponHistoryDO record);
}
